package org.ysu.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.ysu.pojo.Family;
import org.ysu.pojo.Poor;
import org.ysu.pojo.PoorFamily;

import java.util.List;

/**
* @author libaoyu
* @description 针对表【family】的数据库操作Mapper
* @createDate 2024-06-17 14:59:51
* @Entity .pojo.Family
*/
public interface FamilyMapper extends BaseMapper<Family> {

    Family getFamily(Integer id);

    List<Family> getListByRegion(String province, String city, String country);

    void setPovertyById(int fid, int poverty);

    List<String> getAllProvince();

    int addFamily(Family family);

    void updatePid(int fId, int pId);
}




